#ifndef _CONTAINS_EXIT_WIDGET_H_
#define _CONTAINS_EXIT_WIDGET_H_
#include "ElementForm.h"
class ContainsExitForm :public ElementForm
{
	Q_OBJECT
public:
	explicit ContainsExitForm(ElementForm* parent = nullptr);

protected:
	void paintEvent(QPaintEvent* event) override;
	void mousePressEvent(QMouseEvent* event) override;
	void mouseReleaseEvent(QMouseEvent* event) override;
protected:
	QPoint _startPos;
	QPoint _endPos;
	bool _isPressed;
	QRect  _exitRect;

};

#endif //!_CONTAINS_EXIT_WIDGET_H_
